From: Colin Walters Date: Tue, 16 Mar 2010 14:51:05 +0000 (-0400) Subject: [panel.js] Remove duplicated 'let' X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~10314 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=087ac8470e65222629345482b95c2a663ddb5e20;p=gnome-shell.git [panel.js] Remove duplicated 'let' Original fix from Maxim Ermilov --- diff --git a/js/ui/panel.js b/js/ui/panel.js index 6915bc5bd..e35a655ae 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -226,7 +226,7 @@ AppPanelMenu.prototype = { let iconWidth = childBox.x2 - childBox.x1; - let [minWidth, minHeight, naturalWidth, naturalHeight] = this._label.actor.get_preferred_size(); + [minWidth, minHeight, naturalWidth, naturalHeight] = this._label.actor.get_preferred_size(); yPadding = Math.floor(Math.max(0, allocHeight - naturalHeight) / 2); childBox.y1 = yPadding;